<?php

namespace App\Models;



/**
 * App\Models\OrdersGoods
 *
 * @property int $id
 * @property int|null $user_id 用户id
 * @property int|null $orders_id 订单id
 * @property int|null $goods_id 商品id
 * @property int|null $category_id 商品分类id
 * @property string|null $category_name 商品分类名称
 * @property string|null $name 商品名称
 * @property string|null $cover 商品封面图片
 * @property string|null $price 商品价格
 * @property int|null $buy_num 商品购买数量
 * @property int|null $type 商品类型（1：实物商品，2：预约服务商品）
 * @property \Illuminate\Support\Carbon|null $created_at
 * @property \Illuminate\Support\Carbon|null $updated_at
 * @method static \Illuminate\Database\Eloquent\Builder|OrdersGoods newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|OrdersGoods newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|OrdersGoods query()
 * @method static \Illuminate\Database\Eloquent\Builder|OrdersGoods whereBuyNum($value)
 * @method static \Illuminate\Database\Eloquent\Builder|OrdersGoods whereCategoryId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|OrdersGoods whereCategoryName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|OrdersGoods whereCover($value)
 * @method static \Illuminate\Database\Eloquent\Builder|OrdersGoods whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|OrdersGoods whereGoodsId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|OrdersGoods whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|OrdersGoods whereName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|OrdersGoods whereOrdersId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|OrdersGoods wherePrice($value)
 * @method static \Illuminate\Database\Eloquent\Builder|OrdersGoods whereType($value)
 * @method static \Illuminate\Database\Eloquent\Builder|OrdersGoods whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|OrdersGoods whereUserId($value)
 * @mixin \Eloquent
 */
class OrdersGoods extends Base
{
    protected $table = 'orders_goods';
}
